add jasmine syntax to jshintrc
create controllerSpec and refactor function naming
fix karma configuration
add directives unit test