ANGULAR
<input class="" name="store_category[]" type="checkbox" ng-model="store.store_category.A">A
<input name="store_category[]" type="checkbox" ng-model="store.store_category.B">B
<button type="submit" ng-click="addStore(store)" class="btn btn-primary campwidth">SUBMIT</button>
when I console it. It shows object.
store_category
Object { A=true, B=true}
A true B true
I want to send it an array. How to do this in angularjs.