- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 angular应用,一个input上有自定义directive和ng-model,怎么在directive更新input的value时更新model
https://segmentfault.com/q/1010000000347476wise.directive('upload', function ($parse) { return { link: function ($scope, iElement, iAttrs, controller) { iElement.upload({
2017-08-17 16:41:58 1401
转载 angularjs filters on ng-model in an input
app.directive('customValidation', function(){ return { require: 'ngModel', link: function(scope, element, attrs, modelCtrl) { modelCtrl.$parsers.push(function (inputValue) {
2017-08-16 13:55:10 405
转载 $state.go页面传递参数
http://studygolang.com/articles/8153方法1A页面向PAGE1页面传递参数id .state('page1', { url: '/page1', templateUrl: 'tpl/page1.html', params: {id:nul
2017-08-02 09:42:57 3374
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人