Product catalog using SilverStripe ModelAdmin and Angular.js
SilverStripe module which connects AngularJS to a SilverStripe ModelAdmin.
You'll need Bower to install the client-side dependencies.
Require the module by adding
"flashbackzoo/silverstripe-angularjs-modeladmin": "1.0.*@dev" to your site's composer.json file. Then run a
composer update to download the module.
Run a dev/build on your site.
Install the client-side dependencies by running
bower install from the
silverstripe-angularjs-modeladmin directory. This will download AngularJS and other dependencies into the module's
To enable deep linking (optional), add a rule to your site's config.yml, something like this:
If you're creating a catalog on the homepage, these are the rules you'll need:
The second 'product' rule is only required if your catalog is on the homepage.
Login to the CMS.
Create a Catalog using the
Create a Page using the
Catalog page type.
Create a Product using the
Demo site http://davidcraig.co.nz/catalog.