Skip to content

Commit ba5b251

Browse files
committed
Merge pull request #24 from aaron-straker/issue/json-data
Replace {{field}} interpolate value with ng-bind directive
2 parents ba89a64 + 99a96c0 commit ba5b251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/directives/field-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ angularApp.directive('fieldDirective', function($http, $compile) {
4040
}
4141

4242
return {
43-
template: '<div>{{field}}</div>',
43+
template: '<div ng-bind="field"></div>',
4444
restrict: 'E',
4545
scope: {
4646
field: '='

0 commit comments

Comments
 (0)