angular-query-parser-module

1.0.1 • Public • Published

angularQueryParserModule

=========================================================== Parse the url query string like string to object

Contribution Notice:

=========================================================== Run gulp before making git commit. So the dist folder will be updated.

Install

bower install angular-query-parser --save

Usage

angular.module('yourModule', ['angularQueryParserModule'])
    .controller('yourCtrl', ['$scope', 'queryParser', function($scope, queryParser) {
        var result = queryParser.parse('?a=b&c=d');
        result.a;
        result.c;
    })
;

Package Sidebar

Install

npm i angular-query-parser-module

Weekly Downloads

4

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jeff-tian