## 安裝方法
### tp5.0.x版本
<code>composer require topthink/think-angular:1.0.*</code>
### 模板配置
```
// 修改模板配置: /application/config.php
'template' => [
// 模板引擎類型 Angular
'type' => 'Angular',
'debug' => true, // 是否開啟調試模式
'tpl_suffix' => '.html', // 模板后綴
'tpl_cache_suffix' => '.php', // 模板緩存文件后綴
'directive_prefix' => 'php-', // 指令前綴
'directive_max' => 10000, // 指令的最大解析次數
],
```
> 注意, 只有開啟調試模式, 修改模板才能實時看到效果, 線上修改模板后, 一定要清理一次模板緩存, 否則會導致模板不生效