/** * Creates new ng-repeat directive. * * @param PhCompile $phCompile PhCompile object. */ public function __construct(PhCompile $phCompile) { parent::__construct($phCompile); $this->setName('ng-repeat'); $this->setRestrict('A'); $this->setPriority(1000); }
/** * Creates new ng-src directive. * * @param PhCompile $phCompile PhCompile object. */ public function __construct(PhCompile $phCompile) { parent::__construct($phCompile); $this->setName('ng-src'); $this->setRestrict('A'); }