Monday, 4 November 2013

AngularJS: Creating a Dynamic Directive

MainController=function($scope,$element,$compile)
{
var elem = $compile("<fahim></fahim>")($scope);
$element.append(elem);
};

No comments:

Post a Comment