src/helpers/Angular.php
public static function directive($name, array $options = [])
    {
        return Html::tag(Inflector::camel2id($name), null, $options);
    }
public static function directive($name, array $options = [])
    {
        return Html::tag(Inflector::camel2id($name), null, $options);
    }
public static function directive ( $ name , array $ options = [ ] ) { return Html :: tag ( Inflector :: camel2id ( $ name ) , null , $ options ) ; }
Create a Angular Directive tag based on the name.

```php
Angular::directive('my-input', 'name');
```

would produce the my input directive tag:

```html
<my-input ng-model="name"></my-input>
```

@param string $name The name for the generated direcitve tag which will be converted from camelcase to id notation.
@param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
@return string
Create a Angular Directive tag based on the name .