Generated controller $options and $attr paramenters.
Added boolean type to factory
Fixed bootstrap elements