From Christian GROBMEIER
directives.directive('tabLoad', function() { return { link: function (scope, element, attrs) { attrs.$observe('tabLoad', function(val) { var data = angular.fromJson(val); console.log(data); console.log(data.test); // do something }); } } });
No comments:
Post a Comment