This example shows you how to write an application that connect to the Nordic BLE nRF51822-EK development kit.
You can browse the source code for this example at the Evothings GitHub repository.
The file index.html contains both the HTML markup and the application logic.
This example runs in Evothings Client on Android or iOS.
An iOS device or an Android device with support for Bluetooth 4.0 (which includes BLE) is required. For Android version 4.3 or later is needed.
A Nordic BLE nRF51822-EK development kit is also needed.
There is an article about this example published here. It contains detailed step by step instruction on how to get this example up and running.