1.0.1 • Published 7 years ago

angular-query-parser-module v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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;
    })
;