This plugin is based on Paul Irish's memory-stats.
npm i angular-memory-stats --save
Otherwise the results from performance.memory are bucketed and less useful.
angular.module('yourModule', [
'angular-memory-stats'
])
<angular-memory-stats></angular-memory-stats>
angular-memory-stats is enabled by default, if you wish to disable it use the angularMemoryStatsProvider
Provider
angular.module('yourModule').config(function(angularMemoryStatsProvider){
angularMemoryStatsProvider.enable(false)
});
sudo npm install webpack webpack-dev-server -g
npm install
webpack-dev-server --port 8080
Open http://localhost:8080