Skip to content

Me playing with the idea of defining a directive dynamically

Notifications You must be signed in to change notification settings

anglee/lazyDirective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lazyDirective

Me playing with the idea of defining a directive dynamically.

try these steps in browser console:

getOs()[0] = {type: "eee"}; refreshRootScope();
lazyload.outputDisplayFactory.add('eee', function () {
  return {
    template: "<h1>Hello, {{ name }}</h1>",
    controller: function ($scope) {
      $scope.name = "Angular";
    }
  };
});
getOs()[1] = {type: "eee"}; refreshRootScope();

About

Me playing with the idea of defining a directive dynamically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published