manland / draw-my-project

A grunt plugin that draws your javascript project dependencies.
http://manland.github.io/draw-my-project
MIT License
4 stars 1 forks source link

Use run and config angularjs key words #47

Open manland opened 10 years ago

manland commented 10 years ago

Added to rexegexp but never use : http://scriptular.com/#.*%3F%5B%5E%24%5D(config)%5C(%5B%5C%5B%5D%7B0%2C1%7D%5B'%7C%22%5D(.%2B%3F)%5B'%7C%22%5D%7C%7C%7C%7C%7C%7C%7C%7C%5B%22'use%20strict'%3B%22%2C%22%22%2C%22%2F%2F%20HACK%20Facebook%20%3A%20redirect%20to%20%23_%3D_%20and%20angular%20dont%20like%20this%20...%22%2C%22if%20(document.location.hash%20%3D%3D%20%5C%22%23_%3D_%5C%22)%20%7B%20document.location.replace(%5C%22%2F%5C%22)%3B%20%7D%22%2C%22%22%2C%22define(function()%20%7B%22%2C%22%20%20var%20publicApp%20%3D%20window.angular.module('publicApp'%2C%20%5B'ngSanitize'%5D)%3B%22%2C%22%20%20publicApp.config(%5B%5C%22%24routeProvider%5C%22%2C%20%5C%22%24locationProvider%5C%22%2C%22%2C%22%20%20%20%20function(%24routeProvider%2C%20%24locationProvider)%20%7B%22%2C%22%20%20%20%20%24routeProvider%22%2C%22%20%20%20%20%20%20.when('%2F'%2C%20%7B%22%2C%22%20%20%20%20%20%20%20%20templateUrl%3A%20'%2Fassets%2Fapp%2Fviews%2Fmain.html'%2C%22%2C%22%20%20%20%20%20%20%20%20controller%3A%20%5C%22ColumnController%5C%22%22%2C%22%20%20%20%20%20%20%7D)%22%2C%22%20%20%20%20%20%20.when('%2Fp%2F%3ApageName'%2C%20%7B%22%2C%22%20%20%20%20%20%20%20%20templateUrl%3A%20'%2Fassets%2Fapp%2Fviews%2Fmain.html'%2C%22%2C%22%20%20%20%20%20%20%20%20controller%3A%20%5C%22ColumnController%5C%22%22%2C%22%20%20%20%20%20%20%7D)%22%2C%22%20%20%20%20%20%20.otherwise(%7B%22%2C%22%20%20%20%20%20%20%20%20redirectTo%3A%20'%2F'%22%2C%22%20%20%20%20%20%20%7D)%3B%22%2C%22%20%20%20%20%20%20%2F%2F%24locationProvider.html5Mode(true)%3B%22%2C%22%20%20%7D%5D)%3B%22%2C%22%20%20return%20publicApp%3B%22%2C%22%7D)%3B%22%5D