摘要: In this video we will discuss1. Different events that are triggered when a route change occurs in an angular application2. Logging the events and even 阅读全文
posted @ 2017-03-11 17:28 Gester.Lin 阅读(274) 评论(0) 推荐(0) 编辑
摘要: n this video we will discuss, how to cancel route change in Angular with an example. This is extremely useful if you want to warn a user when they are 阅读全文
posted @ 2017-03-11 17:16 Gester.Lin 阅读(202) 评论(0) 推荐(0) 编辑
摘要: In this video we will discuss the difference between $scope and $rootScope. The main difference is that, $rootScope is available globally (for all con 阅读全文
posted @ 2017-03-11 17:01 Gester.Lin 阅读(138) 评论(0) 推荐(0) 编辑
摘要: In this video we will discuss angular route service reload() method. This method is useful when you want to reload just the current route instead of t 阅读全文
posted @ 2017-03-11 16:52 Gester.Lin 阅读(464) 评论(0) 推荐(0) 编辑
摘要: In this video we will discuss 2 simple but useful features in Angular caseInsensitiveMatch Inline Templates Let us understand these 2 features with ex 阅读全文
posted @ 2017-03-11 16:46 Gester.Lin 阅读(207) 评论(0) 推荐(0) 编辑
摘要: There are 2 ways to expose the members from the controller to the view - $scope and CONTROLLER AS. The obvious question that comes to our mind at this 阅读全文
posted @ 2017-03-11 16:39 Gester.Lin 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Working with nested scopes using $scope object : The following code creates 3 controllers - countryController, stateController, and cityController. Al 阅读全文
posted @ 2017-03-11 16:34 Gester.Lin 阅读(200) 评论(0) 推荐(0) 编辑