Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,152,942 members, 7,817,768 topics. Date: Saturday, 04 May 2024 at 07:03 PM |
Nairaland Forum / EasternPride's Profile / EasternPride's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 24 pages)
Politics / Re: Adeniyi Ademola Caught With Unlicensed Pump Action Rifle - Sahara Reporters by EasternPride: 9:13am On Oct 12, 2016 |
Progressive01: Omenka, Eku recession ni o 12 Likes 1 Share |
Politics / Re: Aisha Buhari: President Buhari Surrounded By ‘Strangers' - Guardian by EasternPride: 9:10am On Oct 12, 2016 |
COnfusion in the camp of Buhari and his APC people. sdindan: Meanwhile me and my people are like... 13 Likes 1 Share
|
Politics / Re: Classic 1974 Cartoon That Shows Nigeria Has Not 'changed' by EasternPride: 8:57am On Oct 12, 2016 |
back2sender: Buhari, BVN kwa? |
Politics / Re: Classic 1974 Cartoon That Shows Nigeria Has Not 'changed' by EasternPride: 8:00pm On Oct 11, 2016 |
Evil Contraption called Nigeria. Nothing has worked since the British criminals left their business venture meant for exploitation. Nigeria is a big fraud put together by Britain, managed by Royal Niger criminal enterprise headed by cursed Lugard (Rest in Pieces). For those shouting - "Nigeria will be great again", Nigeria has never been great and will never be, Nigeria is not a nation of same ideologies or outlook towards nation building, it is an amalgamation of different people who are trying to outdo each other with ethnic chauvinism, tribal war and nepotism. No politician believes in Nigeria, except the money they make from it, and once they milk the country they invest in countries which they believe in. The earlier One Nigerianists realize, the better for every one of us. NIGERIA is a very corrupt contraption put together for fun and exploitation of British men. 22 Likes 5 Shares |
Politics / Re: $2.1 B Arms Scam: ‘buhari No Longer Comfortable With Dasuki’s Detention by EasternPride: 6:23pm On Oct 11, 2016 |
Buhari forming super man, all for nothing. |
Politics / Re: Buhari Seeks Confirmation Of Bage, Jauro As New Supreme Court justices by EasternPride: 12:48pm On Oct 11, 2016 |
People that will do his bidding. 2 Likes |
Politics / Re: Justice Ademola Arrested For Granting Kanu Bail –IPOB by EasternPride: 12:11pm On Oct 11, 2016 |
True nau. |
Politics / Re: Check Out The New Nigeria Arms Of Government by EasternPride: 10:25am On Oct 11, 2016 |
O.P it should be 3 ARMS of govt. 3 tiers are Fed, state and local. |
Politics / Re: There’s Hunger, Starvation In The Land, Northern Leaders Tell Buhari by EasternPride: 9:51am On Oct 11, 2016 |
Progressive01: Omenka, why did you run away from your Omenka moniker? 3 Likes |
Politics / Re: 1931 Population Figures Of Nigerian Ethnic Groups- Colonial Annual Report 1933. by EasternPride: 8:11am On Oct 11, 2016 |
Chinachriss: The last line is true because I am in Uyo now, and when u go to any big business premise, my friend will say speak Igbo. My "nwanne kedu?" Always gets answered by "Udo, ibiala". 9 Likes |
Politics / Re: Yoruba’s Unacceptable Courting Of Northern Minorities. by EasternPride: 10:14pm On Oct 10, 2016 |
Treachery and double face never pays. 3 Likes |
Politics / Re: Uche Ogah Arrested By EFCC In Lagos Court Premises by EasternPride: 6:37pm On Oct 10, 2016 |
tempest01: Lol |
Politics / Re: Yoruba Race Under Siege By Tanko Yakasai & Hausa-Fulani Hegemonic Oppressors- SR by EasternPride: 6:02pm On Oct 10, 2016 |
orimsamsam: Face your masters up north broh 17 Likes
|
Politics / Re: Yoruba Race Under Siege By Tanko Yakasai & Hausa-Fulani Hegemonic Oppressors- SR by EasternPride: 6:02pm On Oct 10, 2016 |
BeeBeeOoh: Everyday words of my amiable Director... "No matter what you do for Awusa-Fulani, they will never love you". 13 Likes |
Politics / Re: El-rufai Orders Arrest Of Ibrahim Musa, Spokesperson Of Shiite by EasternPride: 1:18pm On Oct 10, 2016 |
3 Likes |
Politics / Re: El-rufai Orders Arrest Of Ibrahim Musa, Spokesperson Of Shiite by EasternPride: 1:14pm On Oct 10, 2016 |
Senorprinz: Person no fit pay with you again? Just small play. 1 Like
|
Politics / Re: Buhari Not Yet Nigerian President – Rep, Sopuluchukwu Ezeonwuka by EasternPride: 11:49am On Oct 10, 2016 |
FriendChoice: Get away from here, you hypocritical twa.t, now Ijaw is East and East to you means Igbo, may Amadi.oha make ur life miserable you double tongued Pharisee. Hypocrisy and double tongue will never get you anywhere, Ijaw is Igbo my foot. Now it is convenient for you to call Ijaw East, because it has come to Jona, but when it is oil, they are south south south, and has no anything to do with south east. 9 Likes |
Politics / Re: Buhari Not Yet Nigerian President – Rep, Sopuluchukwu Ezeonwuka by EasternPride: 11:35am On Oct 10, 2016 |
FriendChoice: the funny thing is, almost all regions have taken turns under the democratic dispensations to preside over affairs of this contraption, and all of them have failed woefully, even Buhari's own is double failure. Only Igbos have not presided over affairs in Aso rock, so no be we dey spoil una naija. u dolts can continue voting ur prefered tribes/regions, we still dey. We still park like one corner like tomato. Okwa anyi no ya, anyi kposa ka tomato. 30 Likes |
Politics / Re: Ken Saro-wiwa's 75th Posthumous Birthday Is Today by EasternPride: 11:30am On Oct 10, 2016 |
Let's not fight over these things, we all suffer from the injustices, one day liberation will come, at least by trying ... |
Politics / Re: Omojuwa DSS U-turn by EasternPride: 11:06pm On Oct 09, 2016 |
Typical Yoruba man. 5 Likes |
Politics / Re: Asiwaju Bola Tinubu At Crossroads Politically-dele Sobowale by EasternPride: 11:39am On Oct 09, 2016 |
Let the dead, bury the dead! |
Politics / Re: Justice John Inyang Okoro, The Dark Hand That Killed Justice In Abia - Abiafact by EasternPride: 11:23am On Oct 09, 2016 |
Please what will happen to Justice Okon Abang, he was the one that threw Abia state into confusion mode when he gave a nonsense ruling. Okon is not corrupt to you Kahal29, but Okoro Inyang is the corrupt one that must be sacrificed to ur thin god for you to be happy. I am not understanding this una nigeria politiks 8 Likes 2 Shares |
Politics / Re: Post Biafra-what Will Happen To Your Properties/Investment. Prof Charles Soludo by EasternPride: 9:22am On Oct 09, 2016 |
Justiceleague1: Well said brother. 3 Likes |
Politics / Re: Yoruba And Hausa Fear God, Ibo Fear Fulani. by EasternPride: 9:20am On Oct 09, 2016 |
tutorialspoint Jobs Send18 Whiteboard Net Meeting Tools Articles Google+ YouTube HOME TUTORIALS LIBRARY CODING GROUND TUTOR CONNECT VIDEOS Search AngularJS Tutorial AngularJS Tutorial AngularJS - Home AngularJS - Overview AngularJS - Environment Setup AngularJS - MVC Architecture AngularJS - First Application AngularJS - Directives AngularJS - Expressions AngularJS - Controllers AngularJS - Filters AngularJS - Tables AngularJS - HTML DOM AngularJS - Modules AngularJS - Forms AngularJS - Includes AngularJS - AJAX AngularJS - Views AngularJS - Scopes AngularJS - Services AngularJS - Dependency Injection AngularJS - Custom Directives AngularJS - Internationalization AngularJS Applications AngularJS - ToDo Application AngularJS - Notepad Application AngularJS - Bootstrap Application AngularJS - Login Application AngularJS - Upload File AngularJS - In-line Application AngularJS - Nav Menu AngularJS - Switch Menu AngularJS - Order Form AngularJS - Search Tab AngularJS - Drag Application AngularJS - Cart Application AngularJS - Translate Application AngularJS - Chart Application AngularJS - Maps Application AngularJS - Share Application AngularJS - Weather Application AngularJS - Timer Application AngularJS - Leaflet Application AngularJS - Lastfm Application AngularJS Useful Resources AngularJS - Questions and Answers AngularJS - Quick Guide AngularJS - Useful Resources AngularJS - Discussion Selected Reading Developer's Best Practices Questions and Answers Effective Resume Writing HR Interview Questions Computer Glossary Who is Who AngularJS - Scopes Advertisements Previous Page Next Page Scope is a special javascript object which plays the role of joining controller with the views. Scope contains the model data. In controllers, model data is accessed via $scope object. <script> var mainApp = angular.module("mainApp", []); mainApp.controller("shapeController", function($scope) { $scope.message = "In shape controller"; $scope.type = "Shape"; }); </script> Following are the important points to be considered in above example. $scope is passed as first argument to controller during its constructor definition. $scope.message and $scope.type are the models which are to be used in the HTML page. We've set values to models which will be reflected in the application module whose controller is shapeController. We can define functions as well in $scope. Scope Inheritance Scope are controllers specific. If we defines nested controllers then child controller will inherit the scope of its parent controller. <script> var mainApp = angular.module("mainApp", []); mainApp.controller("shapeController", function($scope) { $scope.message = "In shape controller"; $scope.type = "Shape"; }); mainApp.controller("circleController", function($scope) { $scope.message = "In circle controller"; }); </script> Following are the important points to be considered in above example. We've set values to models in shapeController. We've overridden message in child controller circleController. When "message" is used within module of controller circleController, the overridden message will be used. Example Following example will showcase all the above mentioned directives. testAngularJS.htm <html> <head> <title>Angular JS Forms</title> </head> <body> <h2>AngularJS Sample Application</h2> <div ng-app = "mainApp" ng-controller = "shapeController"> <p>{{message}} <br/> {{type}} </p> <div ng-controller = "circleController"> <p>{{message}} <br/> {{type}} </p> </div> <div ng-controller = "squareController"> <p>{{message}} <br/> {{type}} </p> </div> </div> <script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> <script> var mainApp = angular.module("mainApp", []); mainApp.controller("shapeController", function($scope) { $scope.message = "In shape controller"; $scope.type = "Shape"; }); mainApp.controller("circleController", function($scope) { $scope.message = "In circle controller"; }); mainApp.controller("squareController", function($scope) { $scope.message = "In square controller"; $scope.type = "Square"; }); </script> </body> </html> Result Open textAngularJS.htm in a web browser. See the result. Previous Page Print Next Page Advertisements img img img img img img Tutorials Point Write for us FAQ's Helping Contact © Copyright 2016. All Rights Reserved. Enter email for newsletter go |
Politics / Re: Yoruba And Hausa Fear God, Ibo Fear Fulani. by EasternPride: 9:20am On Oct 09, 2016 |
tutorialspoint Jobs Send18 Whiteboard Net Meeting Tools Articles Google+ YouTube HOME TUTORIALS LIBRARY CODING GROUND TUTOR CONNECT VIDEOS Search Ionic Tutorial Ionic Basics Tutorial Ionic - Home Ionic - Overview Ionic - Environment Setup Ionic CSS Components Ionic - Colors Ionic - Header Ionic - Content Ionic - Footer Ionic - Buttons Ionic - Lists Ionic - Cards Ionic - Forms Ionic - Toggle Ionic - Checkbox Ionic - Radio Button Ionic - Range Ionic - Select Ionic - Tabs Ionic - Grid Ionic - Icons Ionic - Padding Ionic Javascript Components Ionic - JS Action Sheet Ionic - JS Backdrop Ionic - JS Content Ionic - JS Forms Ionic - JS Events Ionic - JS Header Ionic - JS Footer Ionic - JS Keyboard Ionic - JS List Ionic - JS Loading Ionic - JS Modal Ionic - JS Navigation Ionic - JS Popover Ionic - JS Popup Ionic - JS Scroll Ionic - JS Side Menu Ionic - JS Slide Box Ionic - JS Tabs Ionic Advanced Concepts Ionic - Cordova Integration Ionic - AdMob Ionic - Camera Ionic - Facebook Ionic - In App Browser Ionic - Native Audio Ionic - Geolocation Ionic - Media Ionic - Splash Screen Ionic Useful Resources Ionic - Quick Guide Ionic - Useful Resources Ionic - Discussion Selected Reading Developer's Best Practices Questions and Answers Effective Resume Writing HR Interview Questions Computer Glossary Who is Who Ionic - JavaScript Popup Advertisements Previous Page Next Page This service is used for creating popup window on top of the regular view which will be used for interaction with users. There are four types of popups − show, confirm, alert and prompt. Using Show Popup This popup is the most complex of all. To trigger popups we need to inject $ionicPopup service to our controller and then just add a method that will trigger the popup we want to use, in this case $ionicPopup.show(). The onTap(e) function can be used for adding e.preventDefault() method that will keep the popup open if there is no change applied to the input. When popup is closed, the promise object will be resolved. Controller Code .controller('MyCtrl', function($scope, $ionicPopup) { // When button is clicked, the popup will be shown... $scope.showPopup = function() { $scope.data = {} // Custom popup var myPopup = $ionicPopup.show({ template: '<input type = "text" ng-model = "data.model">', title: 'Title', subTitle: 'Subtitle', scope: $scope, buttons: [ { text: 'Cancel' }, { text: '<b>Save</b>', type: 'button-positive', onTap: function(e) { if (!$scope.data.model) { //don't allow the user to close unless he enters model... e.preventDefault(); } else { return $scope.data.model; } } } ] }); myPopup.then(function(res) { console.log('Tapped!', res); }); }; }) HTML Code <button class = "button" ng-click = "showPopup()">Add Popup Show</button> Ionic Popup Show You are probably noticing in above example some options used. The following table will explain all of the options and their use case. Show Popup Options Option Type Details template string Inline HTML template of the popup. templateUrl string URL of the HTML template. title string The title of the popup. subTitle string The subtitle of the popup. cssClass string The CSS class name of the popup. scope Scope A scope of the popup. buttons Array[Object] Buttons that will be placed in footer of the popup. They can use their own properties and methods. text is displayed on top of the button, type is the Ionic class used for the button, onTap is function that will be triggered when the button is tapped. Returning a value will cause the promise to resolve with the given value. Using Confirm Popup Confirm popup is simpler version of Ionic popup. It contains Cancel and OK buttons that users can press to trigger corresponding functionality. It returns the promise object that is resolved when one of the buttons are pressed. Controller Code .controller('MyCtrl', function($scope, $ionicPopup) { // When button is clicked, the popup will be shown... $scope.showConfirm = function() { var confirmPopup = $ionicPopup.confirm({ title: 'Title', template: 'Are you sure?' }); confirmPopup.then(function(res) { if(res) { console.log('Sure!'); } else { console.log('Not sure!'); } }); }; }) HTML Code <button class = "button" ng-click = "showConfirm()">Add Popup Confirm</button> Ionic Popup Confirm The following table explains the options that can be used for this popup. Confirm Popup Options Option Type Details template string Inline HTML template of the popup. templateUrl string URL of the HTML template. title string The title of the popup. subTitle string The subtitle of the popup. cssClass string The CSS class name of the popup. cancelText string The text for the Cancel button. cancelType string The Ionic button type of the Cancel button. okText string The text for the OK button. okType string The Ionic button type of the OK button. Using Alert Popup Alert is simple popup that is used for displaying alert information to the user. It has only one button that is used to close the popup and resolve the popups promise object. Controller Code .controller('MyCtrl', function($scope, $ionicPopup) { $scope.showAlert = function() { var alertPopup = $ionicPopup.alert({ title: 'Title', template: 'Alert message' }); alertPopup.then(function(res) { // Custom functionality.... }); }; }) HTML Code <button class = "button" ng-click = "showAlert()">Add Popup Alert</button> Ionic Popup Alert Following table shows the options that can be used for alert popup. Alert Popup Options Option Type Details template string Inline HTML template of the popup. templateUrl string URL of the HTML template. title string The title of the popup. subTitle string The subtitle of the popup. cssClass string The CSS class name of the popup. okText string The text for the OK button. okType string The Ionic button type of the OK button. Using Prompt Popup Last Ionic popup that can be created using Ionic is prompt. It has OK button that resolves promise with value from the input and Cancel button that resolves with undefined value. Controller Code .controller('MyCtrl', function($scope, $ionicPopup) { $scope.showPrompt = function() { var promptPopup = $ionicPopup.prompt({ title: 'Title', template: 'Template text', inputType: 'text', inputPlaceholder: 'Placeholder' }); promptPopup.then(function(res) { console.log(res); }); }; }) HTML Code <button class = "button" ng-click = "showPrompt()">Add Popup Prompt</button> Ionic Popup Prompt Following table shows options that can be used for prompt popup. Prompt Popup Options Option Type Details template string Inline HTML template of the popup. templateUrl string URL of the HTML template. title string The title of the popup. subTitle string The subtitle of the popup. cssClass string The CSS class name of the popup. inputType string The type for the input. inputPlaceholder string A placeholder for the input. cancelText string The text for the Cancel button. cancelType string The Ionic button type of the Cancel button. okText string The text for the OK button. okType string The Ionic button type of the OK button. Previous Page Print Next Page Advertisements img img img img img img Tutorials Point Write for us FAQ's Helping Contact © Copyright 2016. All Rights Reserved. Enter email for newsletter go |
Politics / Re: Yoruba And Hausa Fear God, Ibo Fear Fulani. by EasternPride: 9:20am On Oct 09, 2016 |
8 Ball Pool Soccer Stars Agar.io Invite Buy Coins Earn Coins Awards © Copyright 2001 - 2016 Miniclip SA. All rights reserved. PRIVACY POLICY | HELP |
Politics / Re: Yoruba And Hausa Fear God, Ibo Fear Fulani. by EasternPride: 9:19am On Oct 09, 2016 |
Afonjalysis 12 Likes
|
Politics / Re: Post Biafra-what Will Happen To Your Properties/Investment. Prof Charles Soludo by EasternPride: 9:24pm On Oct 08, 2016 |
flokii: When Afonja gives up on hating anything Biafra, this is what comes next. 3 Likes |
Politics / Re: Post Biafra-what Will Happen To Your Properties/Investment. Prof Charles Soludo by EasternPride: 9:22pm On Oct 08, 2016 |
Jesusloveyou: Crappy response from a hate filled demented afonja fellow, see you see Nigeria, all na same. Disgrace. 3 Likes |
Politics / Re: Between Tinubu And Buhari: The Modern Day Afonja And Alimi – By Reno Omokri by EasternPride: 12:11pm On Oct 08, 2016 |
Easy my people, easy. Do not laugh at a drowning man. For Tinubu - "Do not be deceived, ....... for whatever a man sows, that he will also reap." Galatians 6:7. 5 Likes 2 Shares |
Politics / Re: Jonathan Didn’t Treat The Igbo Well – Ekwueme by EasternPride: 11:52am On Oct 08, 2016 |
martineverest: Before u continue with ur stupidity, kindly state ur own ethnic group in South south, am sure u are one of those bini-esan bois carrying Niger Delta on ur head. 1 Like |
Politics / Re: Post Biafra-what Will Happen To Your Properties/Investment. Prof Charles Soludo by EasternPride: 11:51am On Oct 08, 2016 |
Jesusloveyou: Even God loves people to have freedom, to live on their own and control their destiny, that is why he told Abraham to let Lot go to his desired place and be for himself and his family, have u read about Abraham and Lot? 7 Likes |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 24 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 91 |