fix .js reference
controller-as syntax