This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(angular, $) { | |
var module = angular.module('net.enzey.bindonce', []); | |
var ctrlBind = function($parse) { | |
return function($scope) { | |
$scope.$watch = function(varExpression, func) { | |
// varExpression.exp is passed as the 'old' value | |
// so that angular can remove the expression text from an | |
// element's attributes, such as when using an expression for the class. |
NewerOlder