<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>Ruby</anon>
    <anon>Angular</anon>
  </categories>
  <description>AngularJS を使って Single Page Application を作成するなら、おそらく避けて通れないのがルーティング機能。例えば一覧と編集でビューを切り替えたい場合、ルーティング機能を使ってコントローラーとテンプレートを切り替えて描画する、はず。先日作成したサンプルは一覧と入力が同じページに配置していたけど、AngularJS のルーティング機能を使ってこの２つを別ページに分けてみた。まずは AngularJS を使ったコード。 &lt;!DOCTPE html&gt; &lt;html ng-app=&quot;app&quot;&gt; &lt;head&gt; &lt;meta charset=&quot;utf-8&quot;&gt; &lt;title&gt;Ang…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2013%2F02%2F28%2F203651&quot; title=&quot;AngularJS のルーティング機能を試してみた - present&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-02-28 20:36:51</published>
  <title>AngularJS のルーティング機能を試してみた</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/2013/02/28/203651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
