Adding penalties directive to DOM.
Switching over to ui.router