adambard / adambard/angular-elasticsearch-demo
factory and controller
未關閉
- 主要語言
- JavaScript
- 星號
- 64
- 分支
- 35
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Could you also please explain the meaning of:
function($q, elasticsearch, $location)
you pass to the factory?
and:
function(recipes, $scope, $location)
you pass to the controller?
I got the sense you pass a value from the controller to the factory, is it that?
(from input search field, to factory, which produces the obj of results)
But I didn't understand how is done exactly.
Also,
what's the need of:
['$locationProvider', function($locationProvider){
$locationProvider.html5Mode(true);
}]
in the module?
I read your blog but didn't understand these passages.
Thank you!
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。