Create angular controller