No data in view after creating a factory

前端 未结 3 525
无人及你
无人及你 2020-12-21 22:29

It\'s my 2nd day learning AngularJS. I have a problem I can\'t tackle. Everything was working fine until I created a factory. I understand that factories/services are used t

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-21 23:22

    I would recommend http-server as a quick and easy solution to run your application upon and to help resolve your file loading issues:

    https://www.npmjs.com/package/http-server

提交回复
热议问题