tag:blogger.com,1999:blog-39773367521640965282024-03-08T23:32:59.456+06:00Web for Experts You will find tutorial & discussion about Server Side Development using ASP.NET(C#); Client Side Development using JavaScript, jQuery, AngularJS, KnockourJS & BackboneJS; Designing web sites using CSS; highly interactive application development using HTML5, CSS3 & Advanced JavaScript; Service oriented application development using WCF, Web API and lot more …Anonymoushttp://www.blogger.com/profile/10816901718694103528noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3977336752164096528.post-61268776234835440412013-06-26T14:28:00.000+06:002013-06-27T14:59:06.935+06:00AngularJS Basic<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px;">
Now it's time to make the web page dynamic — with AngularJS. We'll also add a test that verifies the code for the controller we are going to add.</div>
<div style="background-color: white; margin-bottom: 9px;">
<div style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;">
There are many ways to structure the code for an application. For Angular apps, we encourage the use of <a href="http://en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller" style="color: #0088cc; text-decoration: none;">the Model-View-Controller (MVC) design pattern</a> to decouple the code and to separate concerns. With that in mind, let's use a little Angular and JavaScript to add model, view, and controller components to our app.</div>
<div style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;">
<br /></div>
<br /></div>
<pre class="brush: csharp">// Comment
public class Testing {
public Testing() {
}
public void Method() {
/* Another Comment
on multiple lines */
int x = 9;
}
}
</pre>
</div>
Anonymoushttp://www.blogger.com/profile/10816901718694103528noreply@blogger.com0