add controller and bind with ng-controller directive
fix error inserting ng-app and ng-controller directive