GitHub 博客园 Nanakon

随笔分类 -  913.Angular

依赖注入
摘要:AngularJS API之$injector 依赖注入 阅读全文

posted @ 2018-01-05 09:18 jzm17173 阅读(66) 评论(0) 推荐(0)

$inject
摘要:function breadcrumb($parse, store) { } // 为了压缩 breadcrumb.$inject = ['$parse', 'breadcrumbStore'] 阅读全文

posted @ 2017-12-19 10:33 jzm17173 阅读(148) 评论(0) 推荐(0)

angular.copy(source, destination)
摘要:angular.copy(source, destination)只有1个参数,返回source的深拷贝有2个参数source的深拷贝复制给destination 阅读全文

posted @ 2017-12-19 09:54 jzm17173 阅读(153) 评论(0) 推荐(0)

angular渲染完dom后执行js
摘要:如何在angular渲染完dom以后执行js代码 阅读全文

posted @ 2017-11-16 14:28 jzm17173 阅读(145) 评论(0) 推荐(0)

angular file change
摘要:AngularJs: How to check for changes in file input fields? 阅读全文

posted @ 2017-11-16 14:25 jzm17173 阅读(93) 评论(0) 推荐(0)

filter
摘要:说说AngularJS中的filter 阅读全文

posted @ 2017-11-09 14:39 jzm17173 阅读(96) 评论(0) 推荐(0)

render finished
摘要: 阅读全文

posted @ 2017-09-20 10:58 jzm17173 阅读(124) 评论(0) 推荐(0)

验证
摘要:『AngularJS』$location 服务 $locationChangeStart:在URL改变前发生。这种改变可以通过调用事件的preventDefault方法为阻止 $on()函数返回了一个反注册函数,我们可以调用它来取消监听器 阅读全文

posted @ 2017-09-15 16:44 jzm17173 阅读(156) 评论(0) 推荐(0)

scope
摘要:没有scope: {} 有scope: {} 阅读全文

posted @ 2017-07-10 14:25 jzm17173 阅读(86) 评论(0) 推荐(0)

Angular 组件
摘要:1 2 change是TimepickerDemoCtrl上的,mytime在timepicker内部改变生效就会触发 3 timepicker内部绑定TimepickerDemoCtrl对值的监控 5 自定义了渲染 阅读全文

posted @ 2017-06-12 09:35 jzm17173 阅读(87) 评论(0) 推荐(0)

directive require参数
摘要:angularjs自定义directive指令的require参数说明 阅读全文

posted @ 2017-05-19 17:27 jzm17173 阅读(70) 评论(0) 推荐(0)

angular checkbox
摘要:Error: ngModel:constexpr Non-Constant Expression 阅读全文

posted @ 2017-05-11 17:19 jzm17173 阅读(120) 评论(0) 推荐(0)

Angular版本
摘要:Index of (-1.6) 没有Angular 3,下一个Angular主版本将是Angular 4 阅读全文

posted @ 2017-05-09 15:14 jzm17173 阅读(94) 评论(0) 推荐(0)

angular bootstrap
摘要:模板 controller 阅读全文

posted @ 2017-05-05 14:17 jzm17173 阅读(86) 评论(0) 推荐(0)

$interpolateProvider
摘要:angular.module('emailParser', []) .config(['$interpolateProvider', function($interpolateProvider) { $interpolateProvider.startSymbol('__'); $interpolateProvider.endSymbol('__')... 阅读全文

posted @ 2017-03-29 17:57 jzm17173 阅读(83) 评论(0) 推荐(0)

Angular 插值字符串
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="js/angular.min.js"></script> <script> angular.module('myApp', []).co 阅读全文

posted @ 2017-03-29 17:56 jzm17173 阅读(116) 评论(0) 推荐(0)

Angular 手动解析表达式
摘要:{{ parsedValue }} 阅读全文

posted @ 2017-03-29 17:22 jzm17173 阅读(168) 评论(0) 推荐(0)

$modal
摘要:参数 scope The parent scope instance to be used for the modal's content. Defaults to $rootScope 阅读全文

posted @ 2017-03-17 16:13 jzm17173 阅读(77) 评论(0) 推荐(0)

directive例子2
摘要:(function() { angular.module('app.widgets') .directive('bsModalPlus', function($window, $sce, $modal) { return { restrict: 'A', scope: true,... 阅读全文

posted @ 2017-03-15 10:51 jzm17173 阅读(97) 评论(0) 推荐(0)

UI-Router
摘要:UI-Router:为什么开发者都不喜欢Angular.js内置的路由 学习 ui-router 系列文章索引 阅读全文

posted @ 2017-03-15 10:14 jzm17173 阅读(117) 评论(0) 推荐(0)

导航

轻音