NG筆記12-ngSwitch與Scope繼承 2014-07-05 03:53 PM 0 7,943 前篇介紹過ng-if,動態決定是否產生DOM區塊,NG還有另一項工具 – ngSwitch! <!DOCTYPE html> <html ng-app="sampleApp"> <head> <meta charset="utf-8"> ...