Fixed unit test with ng-cloak