Angular 4 Is Not A Function