Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 24, 2017. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deep watch on tags.
  • Loading branch information
Christopher Hiller committed Sep 21, 2013
commit 42b0b7c28eb60e76072f0159c36f90080adbee24
7 changes: 4 additions & 3 deletions dist/angular-tags-0.2.8-tpls.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,9 @@ angular.module("templates/tag.html", []).run(["$templateCache", function($templa
scope.orderBy = data;
});

attrs.$observe('typeaheadOptions', function(newVal) {
if(newVal) {
// pass typeahead options through
attrs.$observe('typeaheadOptions', function (newVal) {
if (newVal) {
scope.typeaheadOptions = $parse(newVal)(scope.$parent);
} else {
scope.typeaheadOptions = {};
Expand Down Expand Up @@ -624,7 +625,7 @@ angular.module("templates/tag.html", []).run(["$templateCache", function($templa
}
watchTags();
}
});
}, true);

watchTags();

Expand Down
2 changes: 1 addition & 1 deletion dist/angular-tags-0.2.8-tpls.map.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading