2016-11-30 10 views
-2

웹 응용 프로그램의 내 PC에서 Firebase로 이미지를 업로드하려면 어떻게해야합니까?Angular.js를 사용하여 Firebase에 이미지 업로드

HTML

<div class="image-file"> 
    <input type="file" id="img-input" ng-model="img"> 
</div> 

내 중포 기지 URL은

"https://shopper-fbdbf.firebaseio.com/images" 

나는 컨트롤러의 입력 값을 얻을 수 없습니다입니다. 다른 해결책이 있습니까? 이 목적으로 사용할 수있는 API는 무엇입니까?

각도에 사용되는 파일 API에 대한
+0

는 https://firebase.google.com/docs/storage/web/upload-files보기 –

답변

관련 문제