Add working controller with angularJS