This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Support for commonJS syntax #1655
Closed
Description
Hi,
now that angular supports commonJS syntax (https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1314-instantaneous-browserification-2015-02-24), is it possible to add it to angular-material too ?
EDIT :
I hope the syntax will also hide the internal dependencies of angular-material (ngAria and ngAnimate).
For example, right now if I want to include ngMaterial in my project, I have to do :
var angular = require('angular');
require('angular-animate');
require('angular-aria');
require('angular-material');
angular.module('foo', ['ngMaterial']);
The expected syntax with commonJS support would be :
var angular = require('angular');
var angularMaterial = require('angular-material');
angular.module('foo',[angularMaterial]);