Luegg / angularjs-scroll-glue

An AngularJs directive that automatically scrolls to the bottom of an element on changes in it's scope.
439 stars 78 forks source link

angular is not defined #60

Open AlbertMillan opened 6 years ago

AlbertMillan commented 6 years ago

Hi! I am coding a chat application using angular/ionic, although I am still pretty new. I cloned the file you have provided inside my "node_modules" folder using npm command you mentioned. However, when trying to import it in "app.module.ts" file, I get an "ReferenceError: angular is not defined". What can I do to solve this?

oliversalzburg commented 6 years ago

Just to be clear, this is a module for AngularJS. You need to include AngularJS to use it. The fact that you have a TypeScript app module suggests to me that you're using Angular (version 2 or higher).