angularJS & filter
간단하게 검색기능 구현하기filter를 사용하면 아주 쉽게 실시간 검색기능을 구현 할 수 있다. index.html Name And Age Of Programmers In the Local Area : {{ person.Name + ' : ' + person.Age }} database.json{ "records" : [ { "Name":"Mehul", "Age":"18" }, { "Name":"Jai", "Age":"18" }, { "Name":"Alex", "Age":"20" }, { "Name":"Anonymous", "Age":"?" }, { "Name":"홍길동", "Age":"34" }, { "Name":"홍길순", "Age":"43" }, { "Name":"김길동", "Age":"12" },..
더보기
angularJS $http
json파일을 불러와서 내용을 출력해주기 index.html Name And Age Of Programmers In the Local Area : {{ person.Name + ' : ' + person.Age }} database.json{ "records" : [ { "Name":"Mehul", "Age":"18" }, { "Name":"Jai", "Age":"18" }, { "Name":"Alex", "Age":"20" }, { "Name":"Anonymous", "Age":"?" } ] } controller.jsvar app = angular.module('mainApp', []); app.controller('people', function($scope, $http){ $http.get('ht..
더보기