Changed login directive to return object variable.
Added real jQuery library to karma unit test config. This makes it easier to test directives content.