Created
May 15, 2014 07:08
-
-
Save azami/3501bfaa3f579883edd1 to your computer and use it in GitHub Desktop.
ng-srcの値を取得したいときは、priorityを高くすると良い
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
app.directive('directiveName', function($location) { | |
return { | |
priority: 99, | |
link: function (scope, element, attrs) { | |
console.log(attrs); | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment