index.js
(function () {
appModule.controller('tenant.views.projects.index', [
'$scope', 'abp.services.app.projects',
function ($scope, ProjectService) {
var vm = this;
vm.projects = [];
ProjectService.GetProjects({}).success(function (result) {
vm.projects = result.items;
}
)
//start from here...
}
]);
})();
index.chtml
<div ng-controller="tenant.views.projects.index as vm">
<div class="row margin-bottom-5">
<div class="col-xs-6">
<div class="page-head">
<div class="page-title">
<h1>
<span>@L("projectnames")</span>
</h1>
</div>
</div>
</div>
</div>
<div class="portlet light margin-bottom-0">
<div class="portlet-body">
<h3>@L("Projects")</h3>
<div class="list-group">
<a href="javascript:;" class="list-group-item" ng-repeat="project in vm.projects">
<h4 class="list-group-item-heading"
ddd {{project.DeptDesc}}
</h4>
</a>
</div>
</div>
</div>
</div>
Thanks,
Hi, In Angular [ index.js] , Could do tell me what 'abp.services.app.person' does it mean ? In application service , I have added folder [ MasterKeys ] then [ Projects ] and files for services. So what will the path above to call function in service? [attachment=0:280hukhq]adb.png[/attachment:280hukhq]
Hi, I see this link. But I need a guide to know where are the area , files to change in theme ?
Thanks,
Hello, For theme in aspnetzero , you are using [keenthemes]. Theme No 4 ( <a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_4/index.html">http://keenthemes.com/preview/metronic/ ... index.html</a> ) , I want to use theme No.1 (<a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_1/index.html">http://keenthemes.com/preview/metronic/ ... index.html</a>). How can I change it ?
Regards,
There are (CreationDate & CreationUserID ) only , I want also ( ModifiedData, ModifiedUserID)
Thanks,