Added Resource controller and ngResource