阅读背景:

在JSON加载之前加载消息或微调器图标与角度模块和控制器在同一文件中加载

来源:互联网 

I am trying to figure out a way to not use $http.get() or $resource to load my JSON data from a separate file or URL since I can load my JSON data using a smarty code like $scope.products = {$data}; I want to load a spinner icon or a "loading" msg before my JSON data loads since the curly braces from angular code are ugly to display. Here is my code below and any thoughts would be appreciated.I am trying to figure out a way to not use $htt




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: