Created
September 1, 2016 22:00
-
-
Save ova2/d3c1bad5c1b9af893f34e8203c6d7006 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
angular.module('app', []).controller('ParseController', ParseController); | |
function ParseController($scope, $parse) { | |
this.libs = {}; | |
this.libs.angular = { | |
version: '1.4.3' | |
}; | |
var template = $parse("'This example uses AngularJS ' + libs.angular.version"); | |
this.parsedMsg = template(this); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment