need to fetch from database to this dropdown : AngularJS and PHP

Currently i have hardcoded the components in Dropdown .

I need to remove hardcoded values in ‘ $scope.categoryTypes ‘ and fetch a column of table in DataBase using php

angular code for dropdown is as follows

<script type=”text/javascript”>
(function() {
‘use strict’;
angular
.module(‘myApp’, [])
.controller(‘testCtrl’, testCtrl);
testCtrl.$inject = [‘$scope’];
function testCtrl($scope) {
$scope.categoryTypes = [‘M-Trouser-Denim ‘,’M-Trouser-Cotton’];
$scope.clothCount = [‘1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′,’10’]
$scope.itemSet = {
item: []
};
$scope.addNewItem = function() {
$scope.itemSet.item.push({});
};
$scope.removeItem = function(index) {
$scope.itemSet.item.splice(index, 1);
};
}
})();
</script>

code is simply generating 2 dropdown boxes when a button is clicked ( as in image )

please click to see the image

or can anybody convert this script into normal format ?