We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would love to see a way to automatically change case of certain instances of variables.
For instance:
(function () { 'use strict'; angular .module('$${module}') .directive('$${directive}', $${directive}Config); function $${directive}Config() { return { controller: $${directive:upperCamelCase}Ctrl, link: $${directive}Link, restrict: '__EA__', templateUrl: '$${templatePath}/$${directive:dashCase}.directive.html' }; function $${directive}Link(scope, element, attrs, ctrl) { } } /** * @ngInject */ function $${directive:upperCamelCase}Ctrl($scope) { } }());
Perhaps with upperCamelCase, camelCase, and dashCase as default filters and allow developers to specify their own JavaScript filters.
upperCamelCase
camelCase
dashCase
The text was updated successfully, but these errors were encountered:
Or, optionally, be able to specify callbacks as tokens and pass the functions a hash of user input:
{ controller: $${getControllerName}, link: $${directive} }
With a callback:
function getControllerName(input) { return convertToCamelCase(input.directive); }
Sorry, something went wrong.
No branches or pull requests
Would love to see a way to automatically change case of certain instances of variables.
For instance:
Perhaps with
upperCamelCase
,camelCase
, anddashCase
as default filters and allow developers to specify their own JavaScript filters.The text was updated successfully, but these errors were encountered: