{"_id":"ng-route-it","_rev":"43-d06139692beaf5a437034e22b7bd4034","name":"ng-route-it","description":"Middleware that allows client side angularjs routes to pass through your server","dist-tags":{"latest":"0.3.2"},"versions":{"0.0.0":{"name":"ng-route-it","version":"0.0.0","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.0.0","dist":{"shasum":"6561b8f56c685135f6338c41755ae65cfd093b27","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.0.0.tgz","integrity":"sha512-1w1ER0It6jWugAoJX687VS5281UT84GpQdBNNNKFkazxn8oCkgM1mCzQkvEknAC9Ci3lFMsaeZwdimriTcGGxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/p7RQWBS8tBIU5O2ffoHl/muKHDcTIbWD1xsByIXBQAiBGlkMdgLskJ5vKTTHyX11nbOeHWeseP2qgcTcXGMPLPA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.1":{"name":"ng-route-it","version":"0.1.1","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.1","dist":{"shasum":"e84502474083174a07fa55a988d866f082a3a2c6","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.1.tgz","integrity":"sha512-UTSc5VjwmT/duzxiltEpP6zSR1X6O0D/PNOZmTLeBwPJnNGt/IjIu/Aimtd6F4zNRd4YIvKYz6yz0wZ0V2eWHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXlRxkdSLhxvI+mKZEq741KMHct/L5T3Wd8Hc4gEHQ1AiBimDpt/3RkN7CT2Cn1N9CsFkDCbfn+L+zva49qI6T4kA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.2":{"name":"ng-route-it","version":"0.1.2","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.2","dist":{"shasum":"48dcb4e4da041d18f150eff2e3fed9aa8fa0add7","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.2.tgz","integrity":"sha512-BHZSnJaBXcIaWAGl4TsoWHJWdzIRdWEp7417oH3fNryTgG3hUlQchmF3fp4Zlis2hwi7yW4KxbXXMHvfcgehmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK45C1edGo73+E6+V9gV4ytnBNDLzMN7IRIqcM00QxcAIhALDZ27m8kD+P5Cw2HrQCQVT6S/506W68+boh9DgekddF"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.3":{"name":"ng-route-it","version":"0.1.3","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.3","dist":{"shasum":"59bb04378c7dcad0c8cd5b8626682dc7d8e977bd","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.3.tgz","integrity":"sha512-gGBWISfZeZTbT8rRpi+oycVr6of7ujuGUT7tOGLX5ogaOd45oRexleiEKKL7vQwvsamJpGI4YfCf9dJDGJpNng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFq3xaacz9iPaxPipDPPpxToIM1h/V+duSjZQyhEt6lAiBBATiGVMOEt5lT8/1/9vZcnu3EFLkror4mxXc4dYAoNg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.4":{"name":"ng-route-it","version":"0.1.4","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.4","dist":{"shasum":"dbf4574f1e03b156123850c6953e5980b8658121","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.4.tgz","integrity":"sha512-F5NQ9NBkapi8xk7dTX9UCnonkp5wicN7yF4dDFPKdjVXKNDj5kJGhelvQOcNuvWNB4F5YL4piPzRLVe012V4kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1eg0jAO49gYsIglIhmYRs/FDqqjIOZxwJ50GfZAHdRgIgHoEpyoQb2rWXzpdpSfr01l+IsR29vQ/7i3jxpEUkM6Q="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.5":{"name":"ng-route-it","version":"0.1.5","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.5","dist":{"shasum":"def8c46b1121f9a541cba77898bf7ffd9c5f8657","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.5.tgz","integrity":"sha512-RDk94Hua6wqYdWk5gDVPH/zmv09qfNMMvU3/w2/H9GWitbFlEPAsXLROFUHKgw/CqZMaqK5MLmM0peqzBcNVrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPzcozoSwZRpMQyhs3eVcSALhQZAWGlKeqls1V1OBAEAiEAixm5olI3e5DnD4UuWh5gB3IAqEMo9sgLVlwRpsPlgpU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.6":{"name":"ng-route-it","version":"0.1.6","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.6","dist":{"shasum":"d6fc70869c8014f7b68dc0d4faeca4dad55ef242","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.6.tgz","integrity":"sha512-bfLpVTZwSd3ucRB5h4WywYv8SQMTEzbkeC3/+gbMt+DSlS/eS8+ftfCifE2gKK/DCOCfHENtraSFCSwtOpwF4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjKDojSA7kl62bwto76Fq0BPWyExAzC2495LmhgUa62QIhAL8vdJ6TQnaYLTrwvaDxDzstwx3EiZQVeGAfIllVA+Xy"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.7":{"name":"ng-route-it","version":"0.1.7","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.7","dist":{"shasum":"f84279d18a1891ba0606d419b80116dfb4b5739c","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.7.tgz","integrity":"sha512-Fc7K+jQO2n82Hkyz/HfUvLP3q+ZMzfhhflPXpQpSWwBNvSwd4xhWu5lP+WSjk1fErZwYgzpkSwV+ZqP2DF/RNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp0T3GB7LqvWjoUQmqL8bk8ar3MPvYeyKlb5FiO8yWvQIgFuf/bh2AEJ3aj0B9N+6ENDTCUfMvfBBppmNb/xDTqo0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.8":{"name":"ng-route-it","version":"0.1.8","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.8","dist":{"shasum":"15509f7e1b17f0b8d8d9e7cc20d80dfbb1cb63bd","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.8.tgz","integrity":"sha512-D8lquwX5jWh3fvuEP0h6hVjLRTdjSgvH78Gh1+3QLIyzUBk3MYHdrFiFz/WI+dr9k10xNDl4UKcewycXVLZL9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHl7TBnJjEj4ESv0gewNTMNoPAMUSEUxnWcSmasClgVoAiEAuRMdxgilFi/lR/dJlBhu3OaqNnaecl9pvXQ0gtDoAPo="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.1.9":{"name":"ng-route-it","version":"0.1.9","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.1.9","dist":{"shasum":"53a2262bc9abd2f9a4cee13db630ba65ac20c9bb","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.1.9.tgz","integrity":"sha512-tdy5RsGSnDeu5OH+NqZ7aDSAmHaf1Qpz3tOrQj0d3Beu70ZM5brlY60fW+/8fbk8S7rjtlxbLde8XTIbtiYfNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLljvp3ALqpKirWK1qPfQmT27yfxUPxwAQP5Sdz9IBGAiA5eYvJMf1mL2/8GLsf4QBdvGKa7/ULQ4RBN03QaurCQw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.2.0":{"name":"ng-route-it","version":"0.2.0","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.2.0","dist":{"shasum":"019edf275f5c8c3372ede01c688bd539f613a56b","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.2.0.tgz","integrity":"sha512-5JmRDhGj+zoUv7dSXH0kU3eZD1JbZa/tyuskDl0C84MpeuoYiM7IUXaWlR2k9vaTlmsjTy9FbdBuELOjwPLYYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz4VpVL/9vFTzO6qQjSr3nsxmc6cWL+0X8ZEIKZ+BUlAIhANmolVNhLGEZXv+zXWuwgc0NvtsZ7o0Gd3Un2D+CxREo"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.2.1":{"name":"ng-route-it","version":"0.2.1","description":"Takes server routes and converts them into angular.js routes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"_id":"ng-route-it@0.2.1","dist":{"shasum":"60f7c09a0cb5bfdd4947e42524fbb28ab4c01061","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.2.1.tgz","integrity":"sha512-RMx9JMsByrKZKkBb3yAh5p1nx0qC3h2L5cPTtLTlroHenhxeZiJz/yzQ3dSu+tfLFWzizfWymN29K1JTP2EE0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJrFQsy0TZycCAdNWQobM4hqtbVaz+ZKOmn36DnYG6/AiBRpYILKGr+yM0DcSBCNFkuuGRy5PqC/rC9MrNiF3kJug=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"directories":{}},"0.3.0":{"name":"ng-route-it","version":"0.3.0","description":"Middleware that allows client side angularjs routes to pass through your server","main":"index.js","scripts":{"test":"mocha test/test"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1","express":"~4.0.0","api-easy":"~0.3.8","request":"~2.34.0","restify":"~2.7.0","async":"~0.7.0"},"gitHead":"7a1d8fce0fd5dc8ce0b8bd91e4c3f31e3a1ac2f7","bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"homepage":"https://github.com/jrayaustin/ng-route-it","_id":"ng-route-it@0.3.0","_shasum":"f3b84e0e3736ed106a65c09617f60a34a8eed4f3","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"dist":{"shasum":"f3b84e0e3736ed106a65c09617f60a34a8eed4f3","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.3.0.tgz","integrity":"sha512-0bWPI8um/hgcTUgkIf0AkLZssDGE3wyvJOEwawbpkQbfkd4fV2Zs8oWZ9Pj0YYos63GTZHg0CAap21Cupz4M0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+HsaXWHLMLlrANPEsXRoxBn3nWiF6azngfn5ZYb3F8AiBrlcy7X3U2oa2hHLEDG0D0Z6tyxX65NJ7vIL1B/5A9TA=="}]},"directories":{}},"0.3.1":{"name":"ng-route-it","version":"0.3.1","description":"Middleware that allows client side angularjs routes to pass through your server","main":"index.js","scripts":{"test":"mocha test/test"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1","express":"~4.0.0","api-easy":"~0.3.8","request":"~2.34.0","restify":"~2.7.0","async":"~0.7.0"},"gitHead":"3a9bf3664373572ce37144d8430f716694be46a5","bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"homepage":"https://github.com/jrayaustin/ng-route-it","_id":"ng-route-it@0.3.1","_shasum":"5085a6a9f3232e34d18841d9debe9816a4518724","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"dist":{"shasum":"5085a6a9f3232e34d18841d9debe9816a4518724","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.3.1.tgz","integrity":"sha512-2SnxdwWIApSAYdifQzG187Qz0cjUS+rtSdqh7CQnmQ4N4g9xNEOfZEVX91weZq4x3CgQ74a7s+JenLjHBehQkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKiqRjD5t35dOpPwhMUkSarkM+cOijw8b/gTbYrtUODQIgUGDPLjkPO9Flhhb5XmIbWLoU/RIWkhFLb8sxnoFBeg8="}]},"directories":{}},"0.3.2":{"name":"ng-route-it","version":"0.3.2","description":"Middleware that allows client side angularjs routes to pass through your server","main":"index.js","scripts":{"test":"mocha test/test"},"author":{"name":"Johnny Ray Austin"},"license":"BSD-2-Clause","repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"dependencies":{"should":"~2.1.1"},"devDependencies":{"grunt":"~0.4.2","grunt-mocha":"~0.4.7","grunt-mocha-test":"~0.8.1","express":"~4.0.0","api-easy":"~0.3.8","request":"~2.34.0","restify":"~2.7.0","async":"~0.7.0"},"gitHead":"3b5630a7951db1c9414868b97f7ca5a70f7705e1","bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"homepage":"https://github.com/jrayaustin/ng-route-it","_id":"ng-route-it@0.3.2","_shasum":"ac2ce7adb392f0b29bf4f7100f3536721a82e4a3","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"johnnyray","email":"johnny@johnnyray.me"},"maintainers":[{"name":"johnnyray","email":"johnny@johnnyray.me"}],"dist":{"shasum":"ac2ce7adb392f0b29bf4f7100f3536721a82e4a3","tarball":"https://registry.npmjs.org/ng-route-it/-/ng-route-it-0.3.2.tgz","integrity":"sha512-U8JW4CXYlcTDQRLLOdBB5CYCaWHkEMO2dmRlLoUZHYbeUS73ctTJMFnwDIBPOuXg7zGhTaw9tZhf430xhLWNZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHehKIBgIDj4xCUycok4rVS4oy8LkKtWHFUSR0r5unxdAiEAvu/FUxt5MbNA/9w+CFOiozsWS31vqbi+5fFx5v0UhvE="}]},"directories":{},"deprecated":"obsolte"}},"readme":"# New version breaks anything older than 0.2.0!\n\nThe problem:\nYou have a single page app routed via angular.js and you have html5Mode turned on. Like so\n\n```javascript\n  $locationProvider\n    .html5Mode( true );\n\n  $routeProvider\n    .when('/', {templateUrl: 'partials/1.html', controller: 'MainCtrl'})\n    .when('/people/:team/:id', {templateUrl: 'partials/partial1.html', controller: 'PersonCtrl'})\n    .otherwise({redirectTo: '/'});\n```\n\nBut you're serving that app using express. You're server only knows about your one route at '/'.\n\nAngular knows /people/:team/:id sends you to a person's profile but if a user hits that URL\nvia the browser URL naviagtion (or external link) your server throws a 404.\n\nUse ng-route-it as a third party middleware\n\n```javascript\n  var ngRoute = require( 'ng-route-it' );\n\n  app.use( ngRoute.route() );\n\n  // Now all of your angular routes will pass through the server to your angular app\n  // which knows how to deal with them\n```\n\nUsing a prefix hash? No problem\n\n```javascript\n  // angular code\n  $locationProvider\n    .html5Mode( true )\n    .hashPrefix( '!' );\n\n  // in your server code\n  var routeIt = require( 'ng-route-it' );\n\n  app.use( ngRoute.setPrefixHash( '!' ).route() );\n```\n\nOh, you have some endpoints that return data or something that you need to have work as usual?\n```javascript\n  ngRoute.ignore( [ '^/api' ] );\n\n  app.use( ngRoute.route() );\n\n  // ngRouteIt will ignore this route\n  app.get('/api/foo.json', function(res, res){\n    res.send( { data: 'foo' } );\n  });\n```\n\n\nTo run tests\n\n```\n  grunt\n```\n\n","maintainers":[{"name":"recursivefunk","email":"johnny@johnnyray.me"}],"time":{"modified":"2022-06-21T04:29:14.612Z","created":"2013-12-04T13:56:06.263Z","0.0.0":"2013-12-04T13:56:07.487Z","0.1.1":"2013-12-04T21:23:56.808Z","0.1.2":"2013-12-04T21:39:27.002Z","0.1.3":"2013-12-04T21:55:49.253Z","0.1.4":"2013-12-05T15:14:13.813Z","0.1.5":"2013-12-15T01:27:20.175Z","0.1.6":"2013-12-15T01:31:53.111Z","0.1.7":"2013-12-16T14:40:11.086Z","0.1.8":"2013-12-26T20:21:14.970Z","0.1.9":"2014-02-26T14:54:59.582Z","0.2.0":"2014-04-14T19:35:36.177Z","0.2.1":"2014-04-14T19:40:21.409Z","0.3.0":"2014-06-30T17:14:33.531Z","0.3.1":"2014-06-30T19:11:20.353Z","0.3.2":"2014-06-30T19:20:46.435Z"},"author":{"name":"Johnny Ray Austin"},"repository":{"type":"git","url":"https://github.com/jrayaustin/ng-route-it.git"},"bugs":{"url":"https://github.com/jrayaustin/ng-route-it/issues"},"license":"BSD-2-Clause","readmeFilename":"README.md","homepage":"https://github.com/jrayaustin/ng-route-it"}