Hi,
I have start reading about haml and i was trying to convert my html code to haml.
I have this code:
<body ng-app="dashboardApp">
<div class="container theme-showcase" ng-controller="MainCtrl">
<div class="item">
<div class="pickerContainer widget"></div>
</div>
<ul class="nav nav-tabs">
<li><a href="#/tabOne">Proveitos</a></li>
<li><a href="#/tabTwo">Custos</a></li>
</ul>
<div ng-view></div>
</div>
</body>
As you can see for the attributes like 'ng-app' I'm using Angularjs, and when i convert it i get this
%body{"ng-app" => "dashboardApp"}
.container.theme-showcase{"ng-controller" => "MainCtrl"}
.item
.pickerContainer.widget
%ul.nav.nav-tabs
%li
%a{href: "#/tabOne"} Proveitos
%li
%a{href: "#/tabTwo"} Custos
%div{"ng-view" => ""}
but when i run it, it breaks in the body line.
Can you help me on fixing this?
thk