I'm creating my first nodejs/sails.js project, I want to use 3 different layout for 3 different occasions:

```
frontend_layout.ejs
admin_layout.ejs
mobile_layout.ejs

```

* In frontend\_layout.ejs, I want to load bootstrap.css, jquery.js and
bootstrap.js.
* In admin\_layout.ejs, I want to load bootstrap.css, angular.js and
ui-bootstrap-tpls.js(angular-ui js library).
* In mobile\_layout.ejs, I want to load ionic.css and ionic.bundle.js

I have created 3 folders in sailsProject/views/ which are admin\_pages, mobile\_pages and frontend\_pages, the 3 layout.ejs files reside in each of these folders respectively, but no matter which layout I load, it always include all the css/js files in assets/js and assets/styles. I know I need to do something to pipeline.js, but how exactly? I'm not efficient at grunt, so I would really appreciate if anyone could point me which config files need to be modified and how... Thanks!