Change angular syntax for add friend view to follow John Pappa's best practices