Is there a way to get params in AngularJs 1.4 when the app runs, when the params come from get method? ex: http://www.myapp.com/whatever?param1=1234
I mean just here in my app.js file:
var myApplication = angular.module('App', [ui.router,...])
var param = // I wish to read the param here
Good morning, Using $location.search() returns an object with the paramenters.Thanks!