Essential Starter for your Angular Material App:
-
npm + webpack + angular-material
-
Not need jQuery + Not need Bootstrap
-
npm
is THE package manager. -
Webpack
is a flexible beast, justrequire/import
anything we need and we're done.
Please feel free to extend this Starter with your own Toolbar Button Actions
, Pages
, controllers, services, factories, directives, filters, contants, events, routes, templates, forms and Section Contents
. Yes, in fact there are 4 major Section Contents
to play with, these are:
- section-image
- section-articles
- section-video
- section-contact
Since both the section-image
and the section-video
are in the background or below a suitable CSS Depth, we are able to overlap this Content
with our custom assets such as text, images, forms, buttons or anything we want.
Service Example: We can enable a Service
able to respond back with business locations, for example, useful to display Google Map Markers of all the for rent houses located within a 10 km radius of our current geo-location.
npm install webpack webpack-dev-server autoprefixer-loader babel-core babel-loader ng-cache-loader raw-loader file-loader image-webpack-loader json-loader less less-loader style-loader css-loader url-loader clean-webpack-plugin html-webpack-plugin extract-text-webpack-plugin ng-annotate ng-annotate-loader --save-dev
npm install \
angular-material \
angular-route \
angular-sanitize \
angular-animate \
ngmap \
ng-onload \
angular-inview \
--save
[npm scripts] are enough to automate all our tasks:
- Run Development Server on port
8888
:
npm run start
- Create Project in
./dist
folder:
npm run build
- chrome http://0.0.0.0:8888