add resize tests
remove redundant $scope.apply functions
Merge pull request #67 from jdewit/test/resize

add resize tests
Merge pull request #68 from jdewit/fix/applyFn

remove redundant $scope.apply functions
use jasmine 2

Jasmine 2 gives you a better stack trace that includes that line number
of the failing assertion.