Skip to main content

Posts

Showing posts from June, 2015

ng-Init in angularjs

Ng-init is a local scope of DOM controller in the region. In the ng-init blog is declare a variable, This variable have to scope of current Controller. Syntax: <div ng-init="variable"> </div> Example: <div ng-app="appInit">     <div ng-controller="appCtrl">         <div ng-init="items =  (data | orderBy:'name')">                        <div ng-repeat="item in items">                 {{item.name}} - {{item.mobile}}             </div>         </div>     </div> </div> AngularJS: var app = angular.module('appInit',[]); app.controller('appCtrl',function($scope){     $scope.data = [         {name:'sathiya',mobile:'9865988754'},         {name:'rajesh',mobile:'9887879856'},                   {name:'mani',mobile:'5487548754'}     ]; }); Result: Demo

ng-messages in angularjs

         mg-message is a directive with the purpose of show and hide the directive based on validation or condition of Object. This Object reference of ng-messages base Object defend to key/value base to map the component display inside of ng-message . Syntax: <Div ng-messages = "expression" role = "alert" > <Div ng-message = "Value" > ... </Div> <Div ng-message = "Value1, Value2, ..." > ... </Div>     </Div> HTML : <div ng-app="msgApp">     <div ng-controller="msgCtrl">         <form name="msgForm">             <input type="text" name="userName" ng-model="user_name" ng-maxlength="20" ng-minlength="5" required />                         <pre>{{ msgForm.userName.$error | json }} </pre>             <div ng-messages="msgForm.userName.$error" style="color:m

Hijacking WhatsApp Account in Seconds Using This Simple Trick

           The badly accepted smartphone messaging annual WhatsApp, acquired by Facebook for over $20 billion endure year, has reportedly been begin to be decumbent to hijacking after unlocking or alive your accessory password, authoritative its hundreds of Millions of users accessible to, not just hackers, but aswell non-technical people.           This ambush lets anyone surrounds you to get finer ascendancy over your WhatsApp account. The antagonist needs annihilation added than a buzz amount of the ambition being and admission to the ambition adaptable buzz for a few seconds, even if it is locked. Hacking Whatsapp annual in such book is not harder for your accompany and colleagues. This is not in fact a artifice or vulnerability in WhatsApp, and rather it is just the way WhatsApp is advised and its annual bureaucracy apparatus works.  NOTE : Moreover, we aren’t auspicious users to drudge others WhatsApp account, but the purpose of publishing this commodit

I keep 200+ Browser Tabs Open, and My Computer Runs Absolutely Fine. Here's My Secret

I don't apperceive about your part, but I accomplish abundant use of tabs. I currently accept 200+ tabs attainable in my Google Chrome Web browser. And sometimes the amount is even more.  For me it's a circadian thing, as I consistently attainable new tabs because of my addiction of account lots of being online, including cyber aegis updates, hacking news, abreast online writing of assorted categories, new recipes to baker something adorable and, of course, funny viral videos. Browsers — Aggregate for us, But Biggest Anamnesis Eaters! I anticipate you’ll accede with me if I say: It’s absolutely harder to administer so abounding tabs on Chrome — and Firefox too. But worse still is the obstruction in the achievement of your computer, as the tabs abide to run accomplishments processes and augment on your system’s memory.  It gets difficult to array through them, aggregate slows down, and sometimes it crashes the browser itself.  Doesn’t it?   

Turning 'Shadow IT' into 'Better IT'

        No alone apparatus will active you to every accessible new technology out there. It's easier and about added able if you accept the affectionate of accord that encourages business teams to acquaint you about it instead -- alluringly after your accurately asking. That blazon of accord is aswell key to answering the added important questions: that is, why and how they're appliance a accurate technology.          There is an age-old Chinese adage about a agriculturalist who loses his horse. For those who haven't heard it, the adventure goes like this: There's an old agriculturalist who lives with his son abutting to the borderlands. One day, his horse runs away. His neighbors appear to animate him, but he alone says, "how do you apperceive it isn't fortunate?"          A few months later, his horse allotment and brings aback with it a arresting stallion. His neighbors appear again, this time to congratulate him. He says to them, "how do y

Google throws Dart language over to GitHub

        Google has confused Dart, its battling to JavaScript, to GitHub, with the declared absorbed of authoritative it easier to plan with the Dart community.         Developers can accord to the accent at Dart's GitHub page. "The Dart SDK now has its own repository, abutting the abundant Dart accoutrement and bales already in our GitHub org [repository]. We've confused all the SDK issues over (keeping the aboriginal affair numbers), and dartbug.com now credibility to GitHub's affair tracker for the Dart SDK," said Seth Ladd, Google Chrome developer advocate, in a contempo blog post.         Dart, which compiles to JavaScript, has had its plan cut out for it aggressive with not alone the all-over JavaScript, but added JavaScript alternatives, such as CoffeeScript and TypeScript . An analyst, however, angle Google's affective Dart to GitHub as not necessarily a setback or a acknowledgment by Google. "It could just as calmly announce that they w