- Extensions consist of
3rd-party
orcustom
code that is integrated into the app. - As the name implies, extensions
extend
the capabilities of your app. - There optional extensions that you can install during the install process.
- Rectangular ships with 1 extension installed by default:
- The
Data
extension =ImmutableJS
.
- The
-
Typically, adding a new
extension
is as easy as putting services/directives in the extensions folder. -
A 3rd-party library can be add in the following way
extension
:const exampleVendorService = function exampleVendorService($window) { return $window.exampleLibrary; }; angular.module("example.vendor.service", []).factory("serviceName$", exampleVendorService);
-
The extension can then be aliased as follows:
angular.module("example.service", ["example.vendor.service"]);
- Learn more about
angular-material
here.
- Service is called
ui.bottomSheet.service
and is injected viabottomSheet$
. - Service is called
ui.colors.service
and is injected viacolors$
. - Service is called
ui.dialog.service
and is injected viadialog$
. - Service is called
ui.icon.service
and is injected viaicon$
. - Service is called
ui.inkRipple.service
and is injected viainkRipple$
. - Service is called
ui.media.service
and is injected viamedia$
. - Service is called
ui.panel.service
and is injected viapanel$
. - Service is called
ui.sidenav.service
and is injected viasidenav$
. - Service is called
ui.sticky.service
and is injected viasticky$
. - Service is called
ui.toast.service
and is injected viatoast$
.
- Learn more about
angular-strap
here.
- Service is called
ui.affix.service
and is injected viaaffix$
. - Service is called
ui.alert.service
and is injected viaalert$
. - Service is called
ui.datepicker.service
and is injected viadatepicker$
. - Service is called
ui.dropdown.service
and is injected viadropdown$
. - Service is called
ui.modal.service
and is injected viamodal$
. - Service is called
ui.popover.service
and is injected viapopover$
. - Service is called
ui.scrollspy.service
and is injected viascrollspy$
. - Service is called
ui.select.service
and is injected viaselect$
. - Service is called
ui.timepicker.service
and is injected viatimepicker$
. - Service is called
ui.tooltip.service
and is injected viatooltip$
. - Service is called
ui.typeahead.service
and is injected viatypeahead$
.
- Service is called
_.service
and is injected via_
. - Learn more about
Lodash
here.
- Service is called
chart.service
and is injected viachart$
. - Learn more about
d3
here.
- Service is called
date.service
and is injected viadate$
. - Learn more about
angularMoment
here. - Learn more about
MomentJS
here.
- Service is called
rest.service
and is injected viarest$
. - The rest$ service can be used in place of $resource.
- Learn more about
restangular
here.
- Service is called
promise.service
and is injected viapromise$
. promise$
can be used in place of$q
- it is a speedier and more robust implementation.- Learn more about
bluebird
here.
- Service is called
socket.service
and is injected viasocket$
. - Learn more about
socket.io-client
here.
- Service is called
upload.service
and is injected viaupload$
. - Learn more about
ng-file-upload
here.
- Service is called
locale.service
and is injected vialocale$
. - Learn more about
angular-translate
here.
- Service is called
data.service
and is injected viadata$
. - Directive is called
data.directive
and is added viadata-src
. - Learn more about
immutable-js
here.
- Service is called
print.service
and is injected viaprint$
. - Learn more about
teleprint
here.