Call external js file function in Angular js controller

后端 未结 5 1943
挽巷
挽巷 2021-02-18 20:42

I have the external js file which has more functions.

I need to call these functions from angular controller.

For example: external.js



        
5条回答
  •  离开以前
    2021-02-18 21:07

    I have similar situation and I did not have to make it self invoking function. Including the external js file into the html and it worked fine.

提交回复
热议问题