We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1b0ec commit ae45a51Copy full SHA for ae45a51
src/star-rating.component.ts
@@ -1,10 +1,10 @@
1
import {StarRatingController} from "./star-rating.controller";
2
-import templateUrl = require('./star-rating.tpl.html');
+import starRatingTpl = require('./star-rating.tpl.html');
3
4
export class StarRatingComponent implements ng.IComponentOptions {
5
6
public bindings: any;
7
- public controller: StarRatingController;
+ public controller: any;
8
public templateUrl: string;
9
public replace: boolean;
10
@@ -28,8 +28,7 @@ export class StarRatingComponent implements ng.IComponentOptions {
28
};
29
this.replace = true;
30
this.controller = StarRatingController;
31
- this.templateUrl = templateUrl;
+ this.templateUrl = <string>starRatingTpl;
32
}
33
34
-}
35
-
+}
0 commit comments