diff --git a/src/index.html b/src/index.html index 86b586803..6b0a2352f 100644 --- a/src/index.html +++ b/src/index.html @@ -590,7 +590,7 @@
otherwise
route specifies which view to display when the URL doesn’t match any of the explicit routes. It’s the default."
, "Projects": "Projects
is an instance of $firebase
, and is defined in the projects
module. It exposes method to add, remove and update projects in the collection. Its purpose is to abstract the server communication. This lets the controller focus on the behavior rather than the complexities of server access."
, "$scope": "We can immediately assign the set of projects to our scope, and they will be displayed in the view."
- , "$timeout": "The callback for Projects.$add is called asynchronously, and we have to use $timeout to ensure $location has the right context when it executes."
, "$location": "You use the $location
service to access the browser's location."
, "path": "Use the path
method to change the application's 'deep-linking' location. Changing the URL will automatically activate the new route, and transition the application to display that view -- in this case, the /edit/
view."
, "$routeParams": "Here, we ask AngularJS to inject the $routeParams
service. We use it to access the parameters extracted from the route path definitions."