Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages