update generated test views to use controllerAs syntax
add api generator