Skip to content

Commit

Permalink
Load template synchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
widmoser committed May 11, 2016
1 parent 58ac0f2 commit 4d05c37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/tileview.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
items: '=',
options: '='
},
templateUrl: 'tileview.tpl.html',
template: $templateCache.get('tileview.tpl.html'),
link: function (scope, elem, attrs) {
scope.elem = elem;
scope.tileStyle = {};
Expand Down
2 changes: 1 addition & 1 deletion src/tileview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare const angular: any;
items: '=',
options: '='
},
templateUrl: 'tileview.tpl.html',
template: $templateCache.get('tileview.tpl.html'),
link: (scope, elem, attrs) => {
scope.elem = elem;
scope.tileStyle = {};
Expand Down

0 comments on commit 4d05c37

Please sign in to comment.