Skip to content

Instantly share code, notes, and snippets.

@ova2
Created September 1, 2016 22:00
Show Gist options
  • Save ova2/d3c1bad5c1b9af893f34e8203c6d7006 to your computer and use it in GitHub Desktop.
Save ova2/d3c1bad5c1b9af893f34e8203c6d7006 to your computer and use it in GitHub Desktop.
(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