hinting for Angular controller best practices