Introduction to JavaScript

JavaScript is a programming language designed for use in a web browser.It is lightweight and most commonly used as a part of web pages.It is an interpreted programming language with object-oriented capabilities.JavaScript can be placed in the <body> and the <head> sections of an HTML page.JavaScript code must be inserted …

Read More »

AngularJS First Application

Hi all, Here I explain simple HelloWorld application using AngularJS. Before I start with creating actual HelloWorld application,let us see the actual parts of a AngularJS application.AngularJS application consists of three important parts they are: ng-app : This directive defines and links an AngularJS application to HTML. ng-model : This …

Read More »

Changing port of ftp and ssh

Here is a simple tips to change the default portsof ftp ana ssh. To change the port of ssh,edit the file/etc/ssh/sshd_config and add the following line: port 222 Restart the service of ssh to make the changes effective.Now you need to specify the port number using option ‘-p’ whenever you …

Read More »

Disabling USB in Linux

There are various ways by which you can disable a USB mass storage device. Here is how you can disable a USB device by editing grub.conf or menu.lst. Allyou need to do is open the file in a text editor and append nousb as one of the kernel parameters: kernel …

Read More »

Number Validation Using JavaScript

Here I explain, how to perform number validation using pur javascript method. The values of the Number field textbox is compared using isNaN() inbuilt function in JavaScript .If the values do not numeric values an error message is displayed like ‘Enter Numeric value only’. If the values are numeric then …

Read More »

Javascript-Syntax

Hi all, JavaScript syntax is the set of rules.JavaScript can be implemented using JavaScript statements in webpages that are placed within the <script>……..</script> HTML tags.You can place the <script&gt tags anywhere within your web page. but it is normally recommended that you should keep it within the <head> tags. A …

Read More »

AngularJS Controllers

AngularJS controllers tp control the flow of data in AngularJS applications.The ng-controller directive is used for defined controller.Its regular javascript object containing attributes/properties and functions. <div ng-app=”” ng-controller=”studentController”> … </div> studentController using ng-controller directive.Next step we’ll define the studentController as follows: <script> function studentController($scope) { $scope.student = { firstName: “Priya”, …

Read More »

AngularJS Directives

The AngularJs directive are helps/used to extend the html.To extended HTML attributes in AngularJs directives with prefix ng-. The ng-app directive used for initializes an AngularJS application. The ng-init directive used for initializes application data. The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. …

Read More »

Advantages and Disadvantages of AngularJS

Advantages of AngularJS AngularJS provides capability to create Single Page Application in a very clean and maintainable way. AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience AngularJS code is unit testable. AngularJS uses dependency injection and make use of separation of concerns. AngularJS …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com