diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-06-26 18:38:20 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-06-26 18:38:20 -0400 |
| commit | f05ea75e47ddb2108a2ea34435f7d628bfe2eefd (patch) | |
| tree | 0215226814ef490774110a737531b7558858a184 /www/js/app.js | |
| parent | 39c77bfbe18138173b2ad35b1bee7301f2711b69 (diff) | |
#275 - force path option in dev settings
Former-commit-id: ea98c5acdafb9b1de06890c1b07d636dbea7be10
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 0fbfb951..cb7ba822 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -81,6 +81,15 @@ angular.module('zmApp', [ }) +.directive('dynamicUrl', function () { + return { + restrict: 'A', + link: function postLink(scope, element, attr) { + element.attr('src', attr.dynamicUrlSrc); + } + }; +}) + .directive('dannyPackery', ['$rootScope', function($rootScope) { return { |
