-
Recent Posts
Recent Comments
Archives
- May 2024
- October 2023
- September 2022
- November 2021
- May 2021
- April 2021
- January 2021
- February 2020
- May 2019
- August 2018
- July 2018
- April 2018
- December 2017
- November 2017
- October 2017
- June 2017
- May 2017
- April 2017
- February 2017
- December 2016
- September 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
Categories
Meta
Category Archives: Angular.js
some tricky in ng-repeat update model in ionic
ng-repeat is to loop thought object list and auto generated html. for example in controller, we declare $scope.workspaces. Now $scope.workspaces = getDataFromDatabase(); 1 2 3 <li class="workspace-object" ng-repeat="w in workspaces | filter:searchQuery" ng-click="selectWorkspace(w)"> <a href="" class="workspace-link">{{w.name | titleCase }}</a> </li><li … Continue reading
Posted in Angular.js
Comments Off on some tricky in ng-repeat update model in ionic
Angular.js compile document to tree struction
the first step of angular.js is to compile document to element and childnode. this struction is similar with DOM. module is key concept of angular.js. what is angular.js module. A module is a collection of services, directives, controllers, filters, and … Continue reading
Posted in Angular.js
Comments Off on Angular.js compile document to tree struction
Angular.js – angularInit(..) and forEach
This is first post about Angular.js source code analysis. Angular.js start with following code. 1 2 3 4 5 bindJQuery(); publishExternalAPI(angular); jqLite(document).ready(function() { angularInit(document, bootstrap); }); bindJQuery(); publishExternalAPI(angular); jqLite(document).ready(function() { angularInit(document, bootstrap); }); Before it starts, it will go though … Continue reading
Posted in Angular.js
Comments Off on Angular.js – angularInit(..) and forEach