Fix some bugs on model/resource services.
Improvements on issue directives.
Minor fixes on issue partials and controller.