hello, I am trying to upload a JSON file using the $http service but i am getting XMLhttprequest cannot upload this file. Please how can you be of assistance?
On Thu, Aug 11, 2016 at 10:08 PM, Godwin Festus <[email protected]> wrote: > hello, > thanks for help and reply to my problem. the solution worked and i have > made progress further. I just encounter another problem with it and want to > plead if you can be a mentol to me in angularjs??? > > Regards... > > Godwin I. Festus > Clubshop Rewards Partner > On 7 Aug 2016 06:50, "Akash Chauhan" <[email protected]> wrote: > >> This worked . >> Thanks :) >> >> On Sunday, August 7, 2016 at 3:10:53 PM UTC+5:30, William Kwasidev wrote: >>> >>> Try this >>> <!DOCTYPE html> >>> <html ng-app="myApp" lang="en"> >>> <head> >>> <meta charset="UTF-8"> >>> <title>Angular Demo</title> >>> <script src="lib/angular/angular.min.js"></script> >>> </head> >>> <body> >>> >>> <div ng-controller ="MyController" id="MyController"> >>> <h1>{{author.name}}</h1> >>> <p>{{ author.title + ', ' + author.company }}</p> >>> </div> >>> >>> <script> >>> var app = angular.module("myApp",[]); >>> app.controller("MyController",['$scope', >>> function MyController($scope) { >>> $scope.author = { >>> 'name' : 'Godwin Festus', >>> 'title' : 'Staff Author', >>> 'company' : 'Salifeng.com' >>> }; >>> >>> } ]); >>> >>> </script> >>> </body> >>> </html> >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "AngularJS" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/angular/4BCHHWcB3gE/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
