background preloader

UI, etc.

Facebook Twitter

Overview. Building an AngularJS Modal Service - Dan Wahlin. In a previous post I walked through a custom AngularJS dialog service that can be used in projects to easily show dialogs to users like the following: Since writing that post, the Angular UI Bootstrap project has pulled (hopefully temporarily) the $dialog service due to some incompatibility issues with the latest version of Bootstrap.

Building an AngularJS Modal Service - Dan Wahlin

Fortunately, the $modal service provided by Angular UI Bootstrap can be used in place of $dialog to accomplish the same type of task. Creating a Modal Service To make a custom modal service you first need to reference the Angular UI Bootstrap script in your main page: Next, define the shell HTML code for the modal dialog that you’d like to display and save it into an .html file. You can see that the HTML relies on a modalOptions object (more on that later) to bind various properties into the modal dialog such as headerText, bodyText, closeButtonText, and actionButtonText. Once the HTML is defined you can use the modal dialog service (named modalService). Sidebar Transitions. FlowType.JS — Responsive web typography at its finest: font-size and line-height based on element width. Annyang! Easily add speech recognition to your site. Go ahead, try it… Say "Hello!

annyang! Easily add speech recognition to your site

" Annyang! Let's try something more interesting… Say "Show me cute kittens! " Say "Show me Arches National Park! " Now go wild. That's cool, but in the real world it's not all kittens and hello world. No problem, say "Show TPS report" How did you do that? AngularJS Animation Slides. By Matias Niemelä bitly.com/yom-slides @yearofmoo Six major AngularJS articles.

AngularJS Animation Slides

Great resource to learn about AngularJS and ngAnimate. [AngularJS] HTML5 Autocomplete. Autocomplete is quite a common UX pattern; for many years we have been using it through browsers and mobile applications, but because of the lack of browsers support, most of the time we have to use Javascript libraries to perform the task.

[AngularJS] HTML5 Autocomplete

Autocomplete form used in Airbnb In cases where Google APIs can provide the information, using their libraries is quite a good option. The libraries perform safe XHR calls through JSONP and load dynamically a set of entries that is then handled by custom CSS in order to position the entries in a location that makes it look like an autocomplete. Most javascript libraries follow the same approach. NgStyle Background - Jake Trent.

NgStyle is the directive used to set inline style attributes with AngularJs.

ngStyle Background - Jake Trent

Most of the time, it’s straightforward to use. background css attributes can be just slightly trickier. ngStyle Objects The ngStyle directive requires an object for input. The object key is the css attribute name. The resultant value for the key is the value of the css attribute. ngStyle is obviously used to set dynamic styles, because static styles are more easily and efficient set using the standard html style attribute. Www.nucleusangular.com/home. AngularJS: Dropdown directive with custom ng-options - SoCode. AngularJS: Dropdown directive with custom ng-options Selenium select dropdown option may be a very basic one and you guys can probably already see where my code fails I <em>want</em> to choose <em>option</em> 2 of the drop down box if a drop down box is present, otherwise enter a string which has been declared in the free text box up until now i've only ever used selenium.

AngularJS: Dropdown directive with custom ng-options - SoCode

<em>select</em> for <em>selecting</em> a label which has specific text Could you <em>try</em> doing it using labels instead? Selenium. Nucleus-angular. Introducing Nucleus Angular Rest. Using RequireJS with Angular - Inline Block's Blog. Since attending Fluent Conf 2013 and watching the many AngularJS talks and seeing the power of its constructs, I wanted to get some experience with it.

Using RequireJS with Angular - Inline Block's Blog

Most of the patterns for structuring the code for single page webapps, use some sort dependency management for all the JavaScript instead of using global controllers or other similar bad things. Many of the AngularJS examples seem to follow these bad-ish patterns. Using angular.module(‘name’, []), helps this problem (why don’t they show more angular.module() usage in their tutorials?) Sqs/angular-dataform. Nucleus-angular/grid. Warpech/angular-ui-handsontable. As Angular directive. Smart Table. Introduction improve the documentation.

Smart Table

Lorenzofox3/Smart-Table. AngularJS + Chosen Plugin = Awesome. Recursive Menus with AngularJS Templates. AngularJS supports Templates and you can do a lot of great stuff with them.

Recursive Menus with AngularJS Templates

Recently I created a tree-like structure with an unknown depth. Templates are great to work with recursion. Here is a simple controller:: 01.function MenuCtrl ($scope, $http) { 02. 04. 05. 06. Animation in AngularJS 1.2 by Gias Kay Lee. Angularjs, twitter, boostrap, navbar, navigation, directive, component. Bootstrap Tabs with Angular.js.

Twitter Bootstrap Tabs are a very popular feature – at least for me.

Bootstrap Tabs with Angular.js

I have them several times in my app. As part of my migration to Angular.js I want to use directives to switch between tabs. This has turned out so much easier than expected. Twitter Bootstrap Navbar as AngularJS component. You all know Twitter Bootstrap, don’t you? It’s the awesome library to make your web application looks pretty good without spending many hours on CSS. We are using Bootstrap based design in our current project that also uses AngularJS and as we are planning to have many new pages, we decided that’s the earlier we introduce some components to our UI the better. And, what shouldn’t be a surprise, navigation bar natually became the first candidate. Overview. Using Hallo.js with AngularJS.

Recently I needed to create a dynamic list containing a lot of editable contents. First I was looking into Angular-UIs implementation of TinyMCE. It first looked pretty OK and easy but when I deleted something from my AngularJS model something strange happened: the DOM was modified but TinyMCE stopped working. I didn’t want to debug this further than making sure my code was fine. When thinking about an alternative I remembered the new approach of dealing with Rich Text editing: content editable. And then I remembered Hallo.js, an editor which I had in my bookmarks for a while. Hallo.js is a minimalistic and great looking solution for editing text in a web browser. 35 Beautiful Free Flat Icons Sets that You can Use. Toolkits Like fashion, designs are changing day to day, and today’s awesome designs focus on simplicity and flat designs rather than complex gradients and all.

A recent event that can be referred to this is the introduction of Apple iOS 7, which unveiled flat icons and a simpler design. Flat icons are a new trend in designing UI, and they are perfect if you are looking for a good and minimalist design to capture your audience’s attention, and nothing can be better than a collection of some awesome and beautiful free flat icons. So, here is a list of well-designed flat icons that are free to use. Beautiful Free Flat Icons Sets. Flat UI - Free User Interface Kit. Header 3The Vatican transitions to a Header 4Great American Bites: Telluride's Oak, The Header 5Author Diane Alberts loves her some good. Collapsable example. List of Twitter Bootstrap Resources. Transition. The transition property is a shorthand property used to represent up to four transition-related longhand properties: That div will take half a second when the mouse is over it to turn from red to green.

Here is a live demonstration of such a transition: You can specify a particular property as we have above, or use a value of "all" to refer to transition properties. In this above example, both background and padding will transition, due to the value “all” specified for the transition-property portion of the shorthand. Controlling CSS Animations and Transitions with JavaScript. The following is a guest post by Zach Saucier. Item Blur Effect with CSS3 and jQuery. Page Transitions with CSS3. Parallax Content Slider with CSS3 and jQuery. Animated Content Tabs with CSS3. About us You think water moves fast? Fluid CSS3 Slideshow with Parallax Effect. Annotation Overlay Effect with CSS3. Vertical Showcase Slider with jQuery and CSS Transitions.

Bernhard. Thumbnail Grid with Expanding Preview. Blueprint: Nested Accordion. Jelly sweet roll dragée gummies. Group and Display Data with Underscore and AngularJS. Blueprint: Slide and Push Menus. A Collection of Page Transitions. Blueprint: On-Scroll Animated Header. Nifty Modal Window Effects. Using Custom Data Attributes and Pseudo-Elements. A tutorial on how to (ab)use custom data attributes and pseudo-elements for creating image captions.

In today’s tutorial I want to show you some simple CSS tricks using data attributes and pseudo-elements. The aim is to create an image caption using only an anchor and an image as markup. We’ll be exploring how to create pseudo-elements from some data attribute values and use them in a hover effect or simply show them next to the image. Using (more) semantic markup is of course what you should be doing, especially for data that is important to be shown. Justified and Vertically Centered Header Elements. Creative Link Effects. Sidebar Transitions. Sliding Triple View Layout. Customize checkboxes and radio buttons with iCheck (jQuery and Zepto) plugin. 70 Beautiful Free PSD UI Kits of 2013! Best Graphic Items. Flat UI Design. Create a slide-out footer with this neat z-index trick. Halftone Navigation Menu With jQuery & CSS3. Making a Photoshoot Effect With jQuery & CSS. Making a CSS3 Animated Menu.

Slideout Tips With jQuery & CSS3. Multi-direction hover. Bigspotteddog/ScrollToFixed. Natural Language Form. CSS3 Family Tree. Make a stopwatch using CSS3 without images or javascript. Vertical accordion menu using jQuery and CSS3. Pure CSS3 breadcrumb navigation - the pixel perfect way. (Better) Tabs with Round Out Borders. Getting Started with Bootstrap 3. Square UI Free - User Interface Kit.

Angular ng-grid: How to access json properties named with incrementing integers. Bootstrap Magic : Generate your own bootstrap theme quickly and easily. Angular Loading Bar. Replacing jQuery.slideDown() with ngAnimate in AngularJS 1.2.0. Scrumwise. Animating with AngularJS. Cascade Framework. Chained Select / Pulldown Demo. How to Create Rounded Corners for Your Box Borders in CSS. Preparing for Animations in Angular 1.2.0. AngularJS ngAnimate: Tutorial - How to make Animations with AngularJS.

Always use :inverse_of to connect two models in a belongs_to/has_many relationship. Popular mistakes when using nested forms. How to do nested views in AngularJS (Hint: Don’t) Angular7min - 7-minute workout app built with Angular for mobile. Angular JS - Scrolling To An Element By Id. Angularjs found great solution to display AJAX spinner loading widget. Simulating Latency for AngularJS $http Calls with Response Interceptors. Recursive Menus with AngularJS Templates. Integrating Angularjs with Arborjs to create a live dashboard.

AngularJS for jQuery Developers. Fmatosic/bubblemevalid. Argerim/select2-rails. Getting Started with elasticsearch and AngularJS: Part1 - Searching. Implement Search Bar for Rails Application. Hello AngularJS – Building a Tweet Reader. CodeMirror. How to Integrate Codemirror with Angular UI - {never stop building} Check and inspect Angular’s scope for any DOM element in Developer Console from Chrome by Blogeek. New features on Restangular: the ultimate Rest API client for Angular by Blogeek. Mastering CSS Layout with Flexbox.