Skip to content

Instantly share code, notes, and snippets.

@ederign
Created October 28, 2014 23:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ederign/fbc2c95c661ab928ca33 to your computer and use it in GitHub Desktop.
var app = angular.module('myapp', []);
app.directive('uberfire', function() {
return {
restrict: 'AE',
replace: true,
scope: {
screen: '@'
},
template:"<div id=angularID></div>",
link: function(scope, elem, attrs) {
attrs.$observe('screen', function(value){
//elem.append(value)
//$angular_export(value)
});
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment