随笔分类 -  AngularJS

Angular js trip
摘要: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 阅读(304) 评论(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 阅读(234) 评论(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 阅读(148) 评论(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 阅读(480) 评论(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 阅读(217) 评论(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 阅读(118) 评论(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 阅读(212) 评论(0) 推荐(0)
摘要:So far in this video series we have been using $scope to expose the members from the controller to the view. In the example above we are attaching mes 阅读全文
posted @ 2016-05-15 03:56 Gester.Lin 阅读(249) 评论(0) 推荐(0)
摘要:What is the issue : When you navigate to http://localhost/students, you will see list of students as shown below Click on any student name. For exampl 阅读全文
posted @ 2016-05-15 03:40 Gester.Lin 阅读(301) 评论(0) 推荐(0)
摘要:Here is what we want to do : When we navigate to /students, the list of student names must be displayed as hyperlinks. When we click on any student na 阅读全文
posted @ 2016-05-15 03:36 Gester.Lin 阅读(346) 评论(0) 推荐(0)
摘要:In the previous videos if you have noticed as we were typing the angular code in Script.js file we were getting some intellisense but it definitely is 阅读全文
posted @ 2016-05-15 03:18 Gester.Lin 阅读(203) 评论(0) 推荐(0)
摘要:At the moment the problem is that, if you try to navigate to a route that is not configured, you will see only the layout page without any partial tem 阅读全文
posted @ 2016-05-15 03:17 Gester.Lin 阅读(288) 评论(0) 推荐(0)
摘要:There are 4 simple steps to remove # from URLs in Angular. Step 1 : Enable html5mode routing. To do this inject $locationProvider into config() functi 阅读全文
posted @ 2016-05-15 03:06 Gester.Lin 阅读(259) 评论(0) 推荐(0)
摘要:Part 23 AngularJS routing tutorial In general, as the application becomes complex you will have more than one view in the application. Let's say you a 阅读全文
posted @ 2016-05-13 17:04 Gester.Lin 阅读(261) 评论(0) 推荐(0)
摘要:Part 21 AngularJS anchorscroll example $anchorscroll service is used to jump to a specified element on the page $location service hash method appends 阅读全文
posted @ 2016-04-26 23:28 Gester.Lin 阅读(368) 评论(0) 推荐(0)
摘要:Whenever the case changes from lower to upper, a single space character should be inserted. This means the string "AngularVideoTutorial" should be con 阅读全文
posted @ 2016-04-25 23:50 Gester.Lin 阅读(305) 评论(0) 推荐(0)
摘要:What is a service in AngularJSBefore we talk about what a service is in Angular. Let's talk about a service in web development. If you have any experi 阅读全文
posted @ 2016-04-25 23:38 Gester.Lin 阅读(168) 评论(0) 推荐(0)
摘要:In Angular there are several built in services. $http service is one of them. In this video, we will discuss another built in service, $log. It is als 阅读全文
posted @ 2016-04-24 01:00 Gester.Lin 阅读(224) 评论(0) 推荐(0)
摘要:Here is what we want to do1. Create an ASP.NET Web service. This web service retrieves the data from SQL Server database table, returns it in JSON for 阅读全文
posted @ 2016-04-24 00:48 Gester.Lin 阅读(458) 评论(0) 推荐(0)
摘要:ng-include directive is used to embed an HTML page into another HTML page. This technique is extremely useful when you want to reuse a specific view i 阅读全文
posted @ 2016-04-24 00:21 Gester.Lin 阅读(269) 评论(0) 推荐(0)